﻿using System;

namespace LBNet
{
    public class NetEventArg_Received : EventArgs
    {
        private byte[] buffer = null;
        private int size = 0;

        public NetEventArg_Received(byte[] byData, int nSize)
        {
            buffer = byData;
            size = nSize;
        }

        public byte[] Buffer
        {
            get { return buffer; }
        }

        public int BufferSize
        {
            get { return size; }
        }
    }
}
